package com.aisile.user.client;

import com.aisile.model.article.pojos.ApAuthor;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Auther:yry
 * @Date:2024/1/13 0013
 * @VERSON:1.0
 */
@FeignClient("leadnews-article")
public interface UserFeign {

    @GetMapping("/api/v1/author/findone/{id}")
    public ApAuthor findById(@PathVariable("id") Integer id);
}
